package com.xywy.tangandroid.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.xywy.tangandroid.R;
import com.xywy.tangandroid.base.BaseActivity;

/*******************************************
 * @Title: BloodDataResultAct.java
 * @Package com.xywy.tangandroid.activity
 * @Description: TODO(用一句话描述该文件做什么)
 * @author Benwolf
 * @date 2014-12-3 下午8:07:09
 * @version V1.0
 ********************************************/
public class BloodDataResultAct extends BaseActivity {
	private RelativeLayout left_img;
	private TextView middle_title;
	private RelativeLayout save_button;

	@Override
	protected void initView(Bundle savedInstanceState) {
		setContentView(R.layout.act_automatic_data_download);
		left_img = (RelativeLayout) findViewById(R.id.left_img);
		middle_title = (TextView) findViewById(R.id.middle_title);
		middle_title.setText(getResources().getString(R.string.blood_data));
		save_button = (RelativeLayout) findViewById(R.id.save_button);
	}

	@Override
	protected void initListener() {
		left_img.setOnClickListener(this);
		save_button.setOnClickListener(this);
	}

	@Override
	protected void initData() {

	}

	@Override
	public void onClick(View v) {
		super.onClick(v);
		switch (v.getId()) {
		case R.id.left_img:
			finish();
			break;
		case R.id.save_button:
			// ������֮���Ƴ�
			finish();
			break;

		default:
			break;
		}
	}
}
